/* styles.css */

/* 基本布局和字体样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* 头部样式 */
header {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #0056b3;
    margin: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #004494;
    border-radius: 5px;
}

/* 主内容样式 */
main {
    padding: 20px;
}

section#profile {
    max-width: 600px;
    margin: 30px auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

section#profile:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

section#profile h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #007bff;
}

section#profile .form {
    display: flex;
    flex-direction: column;
}

section#profile .form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

section#profile .form input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

section#profile .form input:focus {
    border-color: #007bff;
    outline: none;
}

section#profile .form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

section#profile .form button:hover {
    background-color: #0056b3;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #007bff;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
